from rest_framework import generics
from goods.models import SPU
from meiduo_admin.serializers.spus import SPUSerializer

class SPUSimpleView(generics.ListAPIView):
    queryset = SPU.objects.all()
    serializer_class = SPUSerializer